package com.sbhotel.chotellauncher;

import android.app.Application;
import android.os.Environment;
import android.util.Log;

import com.sbhotel.chotellauncher.constant.Constants;
import com.sbhotel.chotellauncher.util.Utils;
import com.sbhotel.chotellauncher.widget.NetWorkErrorDialog;

public class MyApplication extends Application {

    private static MyApplication myApplication = null;
    public static NetWorkErrorDialog netWorkErrorDialog;
    public static boolean disableHomeKey = false;

    public static MyApplication getApplication() {
        return myApplication;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.d(Constants.LOG_TAG, "Application onCreate");
        myApplication = this;
        Utils.waitBootComplete();
    }

}
